#ifndef LAURIN_DEVICE_H_
#define LAURIN_DEVICE_H_

#include <glibmm/ustring.h>

class LaurinDevice
{
	public:

		LaurinDevice(const Glib::ustring& iface);
		virtual ~LaurinDevice();

		bool setDeviceUp();
		bool setDeviceDown();
		bool isDeviceUp();

		int getDeviceIndex() const;
		Glib::ustring getDeviceName() const;

	protected:

		Glib::ustring _ifaceName;
		int _ifaceIndex;

	private:

		bool setDeviceStatus(short flag);
};

#endif
